package it.hopeless.jee6.injection;

import javax.enterprise.inject.Model;
import java.io.Serializable;

/**
 * User: frico
 * Date: Feb 13, 2010
 * Time: 7:45:05 PM
 */
@Model // @Model stays for both @Named and @RequestScoped
public class Credentials implements Serializable{// it has to be Serializable because injected in a Serializable context (Login)

    private String username;
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


}